package com.shop.Service;

import com.github.pagehelper.PageInfo;
import com.shop.pojo.Brand;
import com.shop.pojo.Classifies;
import com.shop.pojo.Classify;
import com.shop.pojo.Message;

import java.io.IOException;
import java.util.List;

public interface ClassifyService {
    public Message<String> addClassify(Classify classify) throws IOException;
    public Message<PageInfo<Classify>> selectAllClassify(String queryInfo, int pageSize, int pageNum) throws IOException;
    public Message<String> deleteClassify(int id) throws IOException;
    public Message<String> updateClassify(Classify classify) throws IOException;
    public Message<List<Classify>> selectAll() throws IOException;
    public Message<PageInfo<Classifies>> selectNew(String queryInfo, int pageSize, int pageNum) throws IOException;
    public Message<Classify> selectById(int fid) throws Exception;
}
